/**
 * 文本链接 a
 */
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};

	$(".header .top").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$(".header .nav").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	

//内容页
if( $(".newsly_ly").length > 0 ){
	$(".news_ly").attr("id","content");
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	
	$(".gly_ly").addClass("navBlock");
	$(".news_ly").addClass("navBlock");
	$(".main .clearfix").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}

//含面包屑导航（非首页）
if( $(".gly_ly").length > 0 ){
	$(".glyleft_ly").attr("id","content");
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	
	$(".gly_ly").addClass("navBlock");
	$(".glyleft_ly").addClass("navBlock");
	$(".glyright_ly").addClass("navBlock");
	$(".main .clearfix").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}


if(location.href=="http://gxt.jl.gov.cn/" || location.href=="http://gxt.jl.gov.cn/index.html"){
//首页

	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".header .top").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	
	//首页有nav的id
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".main .itembox02 .left:first").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".main .itembox02 .right:first").attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".main .itembox01 .left:eq(0)").addClass("navBlock");
	$(".main .itembox01 .right").addClass("navBlock");
	$(".main .itembox02 .left .wjfgbox").addClass("navBlock");
	$(".main .itembox02 .left .ws_logo").addClass("navBlock");
	$(".main .itembox02 .left .wjfgbox").addClass("navBlock");
	$(".main .itembox02 .left .ws_hdjl").addClass("navBlock");
	$(".main .itembox02 .right .zyxxzzbox").addClass("navBlock");
	$(".main .itembox02 .right .rdzt").addClass("navBlock");
	$(".main .itembox02 .right .xxgkzl").addClass("navBlock");
	$(".main .itembox02 .right .xxgkzlb").addClass("navBlock");
	$(".main .itembox02 .right .zzsjk1:eq(0)").addClass("navBlock");
	$(".main .itembox02 .right .zzsjk1:eq(1)").addClass("navBlock");
	$(".main .links").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
	
}

if(location.href=="http://gxt.jl.gov.cn/gxdt1/"){
	// 工信动态
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".header").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".main .itembox02>.left").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".main .itembox02>.right").attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".main .itembox02>.left>div").addClass("navBlock");
	$(".main .itembox02>.right>div").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个

}

if(location.href=="http://gxt.jl.gov.cn/ggfw/"){
	// 公共服务
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".header").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".main .rdfw_ly >div").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个

}

if(location.href=="http://gxt.jl.gov.cn/xxgk/jgzn/" || location.href=="http://gxt.jl.gov.cn/hdjl/" || location.href=="http://gxt.jl.gov.cn/sjtb_1/" || location.href=="http://gxt.jl.gov.cn/gdtp/"){
	// 导航的其它二级页
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".header").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".main>div").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个

}

if(location.href=="http://gxt.jl.gov.cn/hdjl/myqyts/"){
	// 民营企业投诉信箱
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("table:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("iframe:eq(0)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("iframe:eq(0)").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}	
	
	
if(location.href=="http://gxt.jl.gov.cn/hdjl/zxzxx/zxzx.html"){
	// 在线咨询
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".wrap").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".footer").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".zx_main").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("table").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
	
}	
	
if(location.href=="http://gxt.jl.gov.cn/hdjl/tzxx_1/tz/"){
	// 厅长信箱
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$(".wrap").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$(".leftdh:eq(0)").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("table:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("table:first").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".leftdha").parent().parent().attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$("#myiframe").parent().attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".leftdha").parent().parent().addClass("navBlock");
	$("#myiframe").parent().addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}	
	
	
	
